<template>
  <div class="wrap">
    <div class="banner">
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item v-for="item in banners" :key="item.id">
          <img :src="item.picUrl" alt="">
        </van-swipe-item>
      </van-swipe>
    </div>
    <ul class="dis">
      <li>
        <van-icon class-prefix="icon" name="xuanzhong" size="14"></van-icon>品牌鲜花网
      </li>
      <li>
        <van-icon class-prefix="icon" name="xuanzhong" size="14"></van-icon>实拍秀
        </li>
      <li>
        <van-icon class-prefix="icon" name="xuanzhong" size="14"></van-icon>1小时送达
      </li>
      <li>
        <van-icon class-prefix="icon" name="xuanzhong" size="14"></van-icon>50w+好评
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props: {
    banners: {
      type: Array,
      required: true
    }
  }
}
</script>

<style lang="scss" scoped>
.wrap{
  .banner{
    img{
      width: 100%;
    }
  }
  .dis{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    padding: 8px 15px;
  }
}
</style>
